package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.CarCostInvoiceEntity;

/**
 * 车辆费用单收票信息Mapper接口
 *
 * @author cxl
 * @date 2024-09-08
 */
public interface CarCostInvoiceMapper extends BaseMapper<CarCostInvoiceEntity> {
    /**
     * 查询车辆费用单收票信息
     *
     * @param id 车辆费用单收票信息ID
     * @return 车辆费用单收票信息
     */
    public CarCostInvoiceEntity selectCarCostInvoiceEntityById(String id);

    /**
     * 查询车辆费用单收票信息列表
     *
     * @param carCostInvoiceEntity 车辆费用单收票信息
     * @return 车辆费用单收票信息集合
     */
    public List<CarCostInvoiceEntity> selectCarCostInvoiceEntityList(CarCostInvoiceEntity carCostInvoiceEntity);

    /**
     * 新增车辆费用单收票信息
     *
     * @param carCostInvoiceEntity 车辆费用单收票信息
     * @return 结果
     */
    public int insertCarCostInvoiceEntity(CarCostInvoiceEntity carCostInvoiceEntity);

    /**
     * 修改车辆费用单收票信息
     *
     * @param carCostInvoiceEntity 车辆费用单收票信息
     * @return 结果
     */
    public int updateCarCostInvoiceEntity(CarCostInvoiceEntity carCostInvoiceEntity);

    /**
     * 删除车辆费用单收票信息
     *
     * @param id 车辆费用单收票信息ID
     * @return 结果
     */
    public int deleteCarCostInvoiceEntityById(String id);

    /**
     * 批量删除车辆费用单收票信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCarCostInvoiceEntityByIds(String[] ids);
}
